<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>清空缓存</title>
<link href="html/css/css.css" rel="stylesheet" type="text/css" />
<link href="html/css/datepicker.css" rel="stylesheet" type="text/css" />
<script Language="JavaScript" src="html/js/functions.js"></script>
<script Language="JavaScript" src="html/js/datepicker.js"></script>
<script type="text/javascript">
// <![CDATA[
var listItem;
window.onload = function() {
	listItem = new list_item_onclick('list_item');
	listItem.init();
};

function selectSingle(obj)
{
	var id = listItem.get_input_value();
	
	if(id == 0)
	{
		msg_box('请至少选择一个');
		return false;
	}

	var id_arr = id.split(",");
	var id_num = id_arr.length
	
	if(id_num > 1)
	{
		msg_box('只能选择一个');
		return false;
	}
	
	obj.href += '&id=' + id;
	
	return true;
}

function selectMany(obj)
{
	var id = listItem.get_input_value();
	
	if(id == 0)
	{
		msg_box('请至少选择一个');
		return false;
	}
	
	$('daoru').innerHTML = '<img src="html/images/ajax.gif" border="0" align="absmiddle" id="daoru"/> 正在更新缓存，请稍候....';
	$('form').submit();
	return true;
}


// ]]>
</script>
</head>

<body style="height:auto;overflow-x:hidden">

<div class="top_tool">
<div id="daoru">
<a href="#" onclick="selectMany(this)"><img src="html/images/wrench.gif" border="0" align="absmiddle" /> 更新选中的缓存</a>
</div>
</div>

<form action="index.php" method="post" enctype="multipart/form-data" name="form" id="form" style="margin:0px">
<input name="c" type="hidden" value="sys"  />
<input name="d" type="hidden" value="clear"  />
<div class="list_intro"> 
	<div class="left">[ <b>缓存列表</b>]</div>
    <div style="clear:both"></div>
</div>

<div class="list_menu">
<span class="checkbox"></span>
<span class="type"></span>
<span class="tilte">缓存类型</span>
<span class="type"></span>
<span class="type"></span>
<span class="type"></span>
<span class="type"></span>
</div>
<div class="list_item" id="list_item">


   <div>
    <span class="checkbox"><input name="syscache" type="checkbox" value="1" checked="checked" /></span>
    <span class="type">1</span>
    <span class="tilte">系统缓存</span>
    <span class="type"></span>
    <span class="tilte"></span>
    <span class="type"></span>
    <span class="type">

    </span>
    <div style="clear:both; border:none"></div>
    </div>
    
    <div>
    <span class="checkbox"><input name="categorycache" type="checkbox" value="1" checked="checked" /></span>
    <span class="type">2</span>
    <span class="tilte">文章分类缓存</span>
    <span class="type"></span>
    <span class="tilte"></span>
    <span class="type"></span>
    <span class="type">

    </span>
    <div style="clear:both; border:none"></div>
    </div>
    
    
        <div>
    <span class="checkbox"><input name="dircache" type="checkbox" value="1" checked="checked" /></span>
    <span class="type">3</span>
    <span class="tilte">缓存目录</span>
    <span class="type"></span>
    <span class="tilte"></span>
    <span class="type"></span>
    <span class="type">

    </span>
    <div style="clear:both; border:none"></div>
    </div>
    
    
    <div>
    <span class="checkbox"><input name="comcache" type="checkbox" value="1" checked="checked" /></span>
    <span class="type">4</span>
    <span class="tilte">编译缓存</span>
    <span class="type"></span>
    <span class="tilte"></span>
    <span class="type"></span>
    <span class="type">

    </span>
    <div style="clear:both; border:none"></div>
    </div>
    
    <div>
    <span class="checkbox"><input name="title" type="checkbox" value="1" checked="checked" /></span>
    <span class="type">5</span>
    <span class="tilte">头条标题缓存</span>
    <span class="type"></span>
    <span class="tilte"></span>
    <span class="type"></span>
    <span class="type">

    </span>
    <div style="clear:both; border:none"></div>
    </div>
    
    
      
<div class="page"></div>
</div>
</form>
</body>
</html>
